<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-04 15:22:10
 * @LastEditTime: 2022-02-04 16:05:55
 * @LastEditors: CHINAKAIYUAN
 * @Description: 
 */

namespace App\Models;



class RoleDepartment extends BaseModel
{
    public $table = "basedata_role_department";
    protected $guarded = [];
    public function department()
    {
        return $this->belongsTo(Department::class);
    }
    public function role()
    {
        return $this->belongsTo(Role::class);
    }
}
